/*
 * @Author       : shenqing
 * @desc         : 组件描述
 * @Date         : 2022-10-10 17:42:17
 * @LastEditTime : 2022-10-14 11:22:50
 * @LastEditors  : shenqing
 * @FilePath     : \questionnaire\src\main.js
 */
import Vue from 'vue'
import App from './App'
import router from './router'
import api from '@/services/api'
import '@/services/http'
import store from '@/store'
// import '@/assets/stylus/base.styl'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import directive from '@/plugins/directive'

Vue.config.productionTip = false
Vue.prototype.$api = api

Vue.use(ElementUI,{
    size: 'small'
});
Vue.use(directive)

// 全局修改默认配置，点击空白处不能关闭弹窗
ElementUI.Dialog.props.closeOnClickModal.default = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    render: h => h(App)
})
